package com.androidx.p013lv.base.utils;

import android.widget.Toast;
import com.androidx.p013lv.base.BaseSdk;
import com.androidx.p013lv.base.view.CustomToast;

/* renamed from: com.androidx.lv.base.utils.ToastUtils */
public class ToastUtils {
    private static ToastUtils toastUtils;

    private ToastUtils() {
    }

    public static ToastUtils getInstance() {
        if (toastUtils == null) {
            toastUtils = new ToastUtils();
        }
        return toastUtils;
    }

    public void showWeak(String str) {
        new CustomToast(BaseSdk.getContext(), str, 0);
    }

    public void showSigh(String str) {
        new CustomToast(BaseSdk.getContext(), str, 1);
    }

    public void showWrong(String str) {
        new CustomToast(BaseSdk.getContext(), str, 2);
    }

    public void showCorrect(String str) {
        new CustomToast(BaseSdk.getContext(), str, 3);
    }

    public void show_center(String str) {
        Toast makeText = Toast.makeText(BaseSdk.getContext(), str, 0);
        makeText.setGravity(17, 0, 0);
        makeText.show();
    }
}
